package com.xlh.virtualization.vo;

import io.swagger.annotations.ApiModel;
import lombok.Builder;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * @author cheer
 */
@ApiModel("课程容器属性信息")
@Data
@EqualsAndHashCode(callSuper = true)
public class ContainerCourseVO extends ContainerVO {

    /**
     * 班级名称
     */
    private String className;

    /**
     * 年级
     */
    private String grade;

    /**
     * 章节名称
     */
    private String chapterName;

    @Builder(builderMethodName = "courseBuilder")
    public ContainerCourseVO(Long containerId, String username, String userNumber, String containerName,
                             String imageName, String ip, Integer status, String className, String grade,
                             String chapterName) {
        super(containerId, username, userNumber, containerName, imageName, ip, status);
        this.className = className;
        this.grade = grade;
        this.chapterName = chapterName;
    }
}
